GdkMonitor: Fix link to nonexistent Display method
authorDaniel Boles <dboles@src.gnome.org>
Sat, 13 Jan 2018 20:03:37 +0000 (20:03 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Sat, 13 Jan 2018 20:03:37 +0000 (20:03 +0000)
There is no gdk_display_get_monitors(). Instead, we have to use
gdk_display_get_n_monitors() and gdk_display_get_monitor(int).

gdk/gdkmonitor.c

index d7fb64c3ec13ec7c95a21c212ccf7f56e2b216c7..bf69a19027b6ba91651649981cdfcfaaa8dddfbb 100644 (file)
@@ -32,8 +32,8 @@
  *
  * GdkMonitor objects represent the individual outputs that are
  * associated with a #GdkDisplay. GdkDisplay has APIs to enumerate
- * monitors with gdk_display_get_monitors() and to find particular
- * monitors with gdk_display_get_primary_monitor() or
+ * monitors with gdk_display_get_n_monitors() and gdk_display_get_monitor(), and
+ * to find particular monitors with gdk_display_get_primary_monitor() or
  * gdk_display_get_monitor_at_window().
  *
  * GdkMonitor was introduced in GTK+ 3.22 and supersedes earlier